
import request from '@/utils/request'
export function getList(params) {
    return request({
        url: '/product/list',
        method: 'POST',
        data:params
    })
    .then(res => {
        return res && res.records
    })
}
export function getDetail(params) {
    return request({
        url: '/product/detail',
        method: 'POST',
        data:params
    }).then(data=>data)
}
export function getBanner(params={}) {
    return request({
        url: '/banner/list',
        method: 'POST',
        data:params
    }).then(data=>data)
}
export function getProductCombDesc(params) {
    return request({
        url: '/productCombinationDesc/detail',
        method: 'POST',
        data:params
    }).then(data=>data)
}